{extend name="common/adminBase" /}
{block name="body"}
<style>
    .layui-textarea{
        height:150px !important;
        width:1200px !important;
    }
    .layui-form-label{
        width:120px !important;
    }
</style>
<body>

                <form class="layui-form" >
                    <!---------------------------------第一申请人----------------------------------->
                    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
                      <legend>第一申请人</legend>
                    </fieldset>
                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label for="L_username" class="layui-form-label">
                                <span class="x-red">*</span>申请人姓名</label>
                            <div class="layui-input-inline">
                                <input type="text"  name="name"  lay-verify='required' autocomplete="off" class="layui-input">
                            </div>
                        </div>
                    </div>


                    
                 
                   
                    <input type="hidden" name="cid" value="{$id}" />
                    <div class="layui-form-item" style="margin-left: 60px;">
                        <button class="layui-btn " lay-filter="add" lay-submit="">申请</button>
                        <button class="layui-btn " lay-filter="add1" lay-submit="">保存</button>
                        <button class="layui-btn " onclick="xadmin.close();">取消</button>
                    </div>

                </form>

    <script>
layui.use(['form', 'layedit', 'laydate'], function(){
  var form = layui.form
  ,layer = layui.layer
  ,layedit = layui.layedit
  ,laydate = layui.laydate;
      
  //监听提交
  form.on('submit(add)', function(data){
    layer.alert(JSON.stringify(data.field), {
      title: '最终的提交信息'
    })
    return false;
  });

  
});
</script>
    </body>

{/block}
